package com.lrz.controller;

import com.lrz.service.ArticleService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

@Controller
@RequestMapping
public class PageController {

    @Resource
    private ArticleService articleService;

    @RequestMapping("/toIndex")
    public String Index(){
        return "index";
    }

    @RequestMapping("/list")
    public String list(){
        return "list";
    }

    @RequestMapping("/article")
    public String article(){
        return "article";
    }

    @RequestMapping("/about")
    public String about(){
        return "about";
    }

    @RequestMapping("/write")
    public String write(){
        return "write";
    }


}
